home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
dos
/
colprint
/
pr2col.bat
< prev
next >
Wrap
DOS Batch File
|
1994-06-26
|
709b
|
28 lines
@echo off
rem
rem Usage: PR2COL infile
rem
rem Reformat the input file to 62 characters/line, then print in 2 columns
rem This is for printers that support a 16.66 or 17 character-per-inch pitch
rem If you desire, there is room to use an 8 character (/M8) or so left margin.
if "%1" == "" echo Usage: PR2COL infile
if "%1" == "" goto end
if not "%2" == "" echo Usage: PR2COL infile
if not "%2" == "" goto end
rap %1 /W62 \rap.tmp
if not ERRORLEVEL EQ 0 goto raperror
colprint \rap.tmp \colprint.tmp /C2 /L132
if not ERRORLEVEL EQ 0 goto cperror
print \colprint.tmp
goto end
:raperror
echo Error in RAP processing
goto end
:cperror
echo Error in COLPRINT processing
goto end
:end